package com.cskaoyan.app.service;

import com.cskaoyan.app.bean.common.BasePageInfo;
import com.cskaoyan.app.bean.common.CommonData;
import com.cskaoyan.app.bean.po.MarketCoupon;
import com.cskaoyan.app.bean.po.MarketCouponUser;

public interface AdminCouponService {
    CommonData<MarketCoupon> list(BasePageInfo info, String name, Integer type, Integer status);

    MarketCoupon create(MarketCoupon marketCoupon);

    MarketCoupon update(MarketCoupon marketCoupon);

    MarketCoupon read(Integer id);

    CommonData<MarketCouponUser> listUser(BasePageInfo info, Integer couponId, Integer status, Integer userId);

    void delete(MarketCoupon marketCoupon);
}
